package com.orchid.community.models.mapper;

import com.orchid.community.models.entity.SysUsers;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;

@Mapper
public interface SysUsersMapper {
    SysUsers getByUsernameAdnPassword(@Param("username") String username, @Param("password") String password);

    boolean updateToken(@Param("username")String username,@Param("token") String token);

    void deleteTokenById(@Param("id") Integer id);
}
